package net.wofly.cashier.preorder.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author lign
 * @version 1.0
 * @created 17-十月-2017 23:09:32
 */
@Data
@Entity
@Table(name = "cashier_preorder_bookmealcontent")
@ApiModel(description = "预定就餐内容")
public class BookMealContent {

	@Id
	private String bookMealContentID;
	private String bookMealID;
	private String commodityID;
	private Long modifyDate;
	/**
	 * 菜品数量
	 */
	private Integer num;
	/**
	 * 商品总价
	 */
	private Integer amount;
	/**
	 * 商品单价
	 * <ul>
	 * 	<li>下定单时价格</li>
	 * </ul>
	 */
	private Integer price;

	public BookMealContent(){

	}

}